package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.DataclassesDao;
import com.bootdo.screen.domain.DataclassesDO;
import com.bootdo.screen.service.DataclassesService;



@Service
public class DataclassesServiceImpl implements DataclassesService {
	@Autowired
	private DataclassesDao dataclassesDao;
	
	@Override
	public DataclassesDO get(Integer id){
		return dataclassesDao.get(id);
	}
	
	@Override
	public List<DataclassesDO> list(Map<String, Object> map){
		return dataclassesDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return dataclassesDao.count(map);
	}
	
	@Override
	public int save(DataclassesDO dataclasses){
		return dataclassesDao.save(dataclasses);
	}
	
	@Override
	public int update(DataclassesDO dataclasses){
		return dataclassesDao.update(dataclasses);
	}
	
	@Override
	public int remove(Integer id){
		return dataclassesDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return dataclassesDao.batchRemove(ids);
	}
	
}
